package com.bluesea.report.entity;

import java.io.Serializable;
import java.math.BigDecimal;

/**
* @ClassName: Integral 
* @Description: TODO(积分实体类) 
* @author 何岩骏 
* @date 2017年9月7日 下午7:03:39
 */
public class Integral implements Serializable {

	/** 
	* @Fields serialVersionUID : TODO(序列号) 
	*/ 
	private static final long serialVersionUID = -7033679089427777645L;
	
	private Integer id;//主键
	private String area;//区域
	private BigDecimal planProduction;//计划产值完成率
	private BigDecimal averageRevenue;//人均营收
	private BigDecimal planProfits;//计划利润完成率
	private BigDecimal perCapitaProfit;//人均利润
	private BigDecimal plannedCost;//计划成本
	private BigDecimal perCapitaCost;//人均成本
	private Integer workersIncrease;//增减员
	private BigDecimal perCustomerService;//人均客服量
	private BigDecimal actualPaymentRate;//实际到款率
	private BigDecimal receivable_Account;//应收账款占营收比
	private Integer qualityControlPoints;//质控分
	private Integer fromSingular;//撒单数
	private Integer signBillAmount;//签单量
	private Integer websitePromotion;//网站推广
	private BigDecimal integral_accumulated;//积分累计
	private Integer accumulativeRankings;//累计排名
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getArea() {
		return area;
	}
	public void setArea(String area) {
		this.area = area;
	}
	public BigDecimal getPlanProduction() {
		return planProduction;
	}
	public void setPlanProduction(BigDecimal planProduction) {
		this.planProduction = planProduction;
	}
	public BigDecimal getAverageRevenue() {
		return averageRevenue;
	}
	public void setAverageRevenue(BigDecimal averageRevenue) {
		this.averageRevenue = averageRevenue;
	}
	public BigDecimal getPlanProfits() {
		return planProfits;
	}
	public void setPlanProfits(BigDecimal planProfits) {
		this.planProfits = planProfits;
	}
	public BigDecimal getPerCapitaProfit() {
		return perCapitaProfit;
	}
	public void setPerCapitaProfit(BigDecimal perCapitaProfit) {
		this.perCapitaProfit = perCapitaProfit;
	}
	public BigDecimal getPlannedCost() {
		return plannedCost;
	}
	public void setPlannedCost(BigDecimal plannedCost) {
		this.plannedCost = plannedCost;
	}
	public BigDecimal getPerCapitaCost() {
		return perCapitaCost;
	}
	public void setPerCapitaCost(BigDecimal perCapitaCost) {
		this.perCapitaCost = perCapitaCost;
	}
	public Integer getWorkersIncrease() {
		return workersIncrease;
	}
	public void setWorkersIncrease(Integer workersIncrease) {
		this.workersIncrease = workersIncrease;
	}
	public BigDecimal getPerCustomerService() {
		return perCustomerService;
	}
	public void setPerCustomerService(BigDecimal perCustomerService) {
		this.perCustomerService = perCustomerService;
	}
	public BigDecimal getActualPaymentRate() {
		return actualPaymentRate;
	}
	public void setActualPaymentRate(BigDecimal actualPaymentRate) {
		this.actualPaymentRate = actualPaymentRate;
	}
	public BigDecimal getReceivable_Account() {
		return receivable_Account;
	}
	public void setReceivable_Account(BigDecimal receivable_Account) {
		this.receivable_Account = receivable_Account;
	}
	public Integer getQualityControlPoints() {
		return qualityControlPoints;
	}
	public void setQualityControlPoints(Integer qualityControlPoints) {
		this.qualityControlPoints = qualityControlPoints;
	}
	public Integer getFromSingular() {
		return fromSingular;
	}
	public void setFromSingular(Integer fromSingular) {
		this.fromSingular = fromSingular;
	}
	public Integer getSignBillAmount() {
		return signBillAmount;
	}
	public void setSignBillAmount(Integer signBillAmount) {
		this.signBillAmount = signBillAmount;
	}
	public Integer getWebsitePromotion() {
		return websitePromotion;
	}
	public void setWebsitePromotion(Integer websitePromotion) {
		this.websitePromotion = websitePromotion;
	}
	public BigDecimal getIntegral_accumulated() {
		return integral_accumulated;
	}
	public void setIntegral_accumulated(BigDecimal integral_accumulated) {
		this.integral_accumulated = integral_accumulated;
	}
	public Integer getAccumulativeRankings() {
		return accumulativeRankings;
	}
	public void setAccumulativeRankings(Integer accumulativeRankings) {
		this.accumulativeRankings = accumulativeRankings;
	}
	
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((id == null) ? 0 : id.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		Integral other = (Integral) obj;
		if (id == null) {
			if (other.id != null)
				return false;
		} else if (!id.equals(other.id))
			return false;
		return true;
	}
	
	@Override
	public String toString() {
		return "Integral [id=" + id + ", area=" + area + ", planProduction=" + planProduction + ", averageRevenue="
				+ averageRevenue + ", planProfits=" + planProfits + ", perCapitaProfit=" + perCapitaProfit
				+ ", plannedCost=" + plannedCost + ", perCapitaCost=" + perCapitaCost + ", workersIncrease="
				+ workersIncrease + ", perCustomerService=" + perCustomerService + ", actualPaymentRate="
				+ actualPaymentRate + ", receivable_Account=" + receivable_Account + ", qualityControlPoints="
				+ qualityControlPoints + ", fromSingular=" + fromSingular + ", signBillAmount=" + signBillAmount
				+ ", websitePromotion=" + websitePromotion + ", integral_accumulated=" + integral_accumulated
				+ ", accumulativeRankings=" + accumulativeRankings + "]";
	}
	
	public Integral(Integer id, String area, BigDecimal planProduction, BigDecimal averageRevenue,
			BigDecimal planProfits, BigDecimal perCapitaProfit, BigDecimal plannedCost, BigDecimal perCapitaCost,
			Integer workersIncrease, BigDecimal perCustomerService, BigDecimal actualPaymentRate,
			BigDecimal receivable_Account, Integer qualityControlPoints, Integer fromSingular, Integer signBillAmount,
			Integer websitePromotion, BigDecimal integral_accumulated, Integer accumulativeRankings) {
		super();
		this.id = id;
		this.area = area;
		this.planProduction = planProduction;
		this.averageRevenue = averageRevenue;
		this.planProfits = planProfits;
		this.perCapitaProfit = perCapitaProfit;
		this.plannedCost = plannedCost;
		this.perCapitaCost = perCapitaCost;
		this.workersIncrease = workersIncrease;
		this.perCustomerService = perCustomerService;
		this.actualPaymentRate = actualPaymentRate;
		this.receivable_Account = receivable_Account;
		this.qualityControlPoints = qualityControlPoints;
		this.fromSingular = fromSingular;
		this.signBillAmount = signBillAmount;
		this.websitePromotion = websitePromotion;
		this.integral_accumulated = integral_accumulated;
		this.accumulativeRankings = accumulativeRankings;
	}
	
	public Integral() {
		super();
	}
}
